package com.lsp.lock.one;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author: liusupeng
 * @Date: 2021/6/20 10:53
 */
public class Deprecated {
    public static void main(String[] args) {

        DateFormat format = new SimpleDateFormat("HH:mm:ss");
        

    }

    static class Runner implements Runnable {

        @Override
        public void run() {
            DateFormat format = new SimpleDateFormat("HH:mm:ss");
            while (true) {
                System.out.println(Thread.currentThread().getName() + "Run at" + format.format(new Date()));
                SleepUtils.second(1);
            }
        }
    }
}
